<!doctype html>
<html>
<head>
  <title>Learning jQuery</title>
  <meta charset="utf-8" />
  <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>
  <style>
  </style>
</head>

<body>
  <h1>Asynchronous JavaScript And XML</h1>
  <script>
/*  $.get("test.html", function(data) {
      alert(data);
    });
*/
    $.ajax({
      url:"test.html"
    }).done(function(data){
      $("h1").append(data);
    });
  </script>
</body>
</html>
